home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / prsr_lib / ip_fatal.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-30  |  697 b   |  22 lines

  1. /*****************************************************************************
  2. * Default fatal error handler for the irit parser.                 *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, April 1993  *
  5. *****************************************************************************/
  6.  
  7. #include <stdio.h>
  8. #include "irit_sm.h"
  9. #include "iritprsr.h"
  10. #include "allocate.h"
  11. #include "attribut.h"
  12.  
  13. /*****************************************************************************
  14. * Trap Irit Parser errors right here.                         *
  15. *****************************************************************************/
  16. void IritPrsrFatalError(char *Msg)
  17. {
  18.     fprintf(stderr, "IP: %s\n", Msg);
  19.  
  20.     exit(-1);
  21. }
  22.